package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.TCq;
import com.bwie.pojo.TZc;
import com.bwie.service.TZcService;
import com.bwie.mapper.TZcMapper;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 28463
* @description 针对表【t_zc】的数据库操作Service实现
* @createDate 2025-07-03 10:05:02
*/
@Service
public class TZcServiceImpl extends ServiceImpl<TZcMapper, TZc>
    implements TZcService{

    @Autowired
    TZcMapper tZcMapper;
    @Override
    public R getMyZc(PageInfoVo pageInfoVo) {
        Page<TZc> page = new Page<>(pageInfoVo.getPageNum(), pageInfoVo.getPageSize());
        Page<TZc> tZcPage = tZcMapper.selectPage(page, null);
        return R.OK(tZcPage);
    }
}




